<?php
    require "admin_pages.php";
    
    if (isset($_REQUEST['trash']))
    {
        $trash = ($_REQUEST['trash'] == "0") ? true : false;
        $events = db_event_list($trash);
        generate_disaster_table($events);
    }
?>
